/* -------------------------------头部------------------------------------ */
header{
    width: 100%;
    background-color: #fff;
}
.top-nav{
    width:1200px;
    padding:10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0 auto;
}
.search{
    display: flex;
    align-items: center;
}
.search .icon-location{
    width:16px;
    height:21px;
    background: url(./image/location.png) no-repeat center;
}
.search span{
    color:var(--text-color);
    font:15px "微软雅黑";
    padding:0px 20px 0px 6px;
}
.searchbox{
    height:38px;
    border:1px solid var(--main-color);
    padding-left:44px;
     /* 左上 右上 右下 左下 */
    border-radius: 19px 0px 0px 19px;
    display: flex;
    align-items: center;
    background: url(./image/search.png) no-repeat 16px 10px;
}
.searchbox input[type="text"]{
    border:none;
    outline: none;
    font:15px "微软雅黑";
    color:var(--text-color);
}
.search button{
    height: 40px;
    border:none;
    background-color:var(--main-color);
    padding:0px 22px;
            /* 左上 右上 右下 左下 */
    border-radius: 0px 20px 20px 0px;
    color:white;
    font:15px "微软雅黑";
}
.user a{
    font:15px "微软雅黑";
    margin-left:25px;
    color:var(--text-color);
}
.user img{
    vertical-align: middle;
}
.menu{
    width: 1200px;
    margin: 0 auto;
    display: flex;
}
.menu li{
    height: 50px;
   margin-right: 50px; 
}

.menu li a{
    display: block;
    font: 20px "微软雅黑";
    height: 50px;
    margin-right: 50px;
    color: var(--title-color);
}

.menu li:nth-child(1) a,.menu li a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
/* -----------------------------------轮播图区------------------------------- */
.wrapper{
    width:100%;
    /* 设置最小宽度为1200px */
    min-width:1200px;
    position: relative;
    overflow: hidden;
}
.banner{
    width:1200px;
    height:500px;
    margin:0 auto;
}
.banner img{
    /* 居中对齐 */
    position: absolute;
    left:50%;
    transform: translateX(-50%);
}
.dot{
    /* 居中对齐 */
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    bottom:15px;
    z-index:1;
}
.dot span{
    display: inline-block;
    width:8px;
    height:8px;
    /* 鼠标呈现为指示链接的指针 */
    cursor: pointer;
    vertical-align: middle;
    background:var(--text-color);
    border-radius: 50%;
}
.dot span:first-child{
    width:10px;
    height:10px;
    background: var(--main-color);
}
.wrapper i.left,.wrapper i.right{
    position: absolute;
    width:50px;
    height:50px;
    z-index:2;
    top:50%;
    transform: translateY(-50%);
    text-indent: -9999px;
    border-radius: 50%;
    /* 鼠标呈现为指示链接的指针 */
    cursor: pointer;
}
.wrapper i.left{
    /* 距离父容器左边的一半 */
    left:50%;
    /* 往左移动1200/2=600px + 自己宽度50px */
    margin-left:-650px;
    background: url(./image/left.png);
}
.wrapper i.right{
    left:50%;
    margin-left:600px;
    background: url(./image/right.png);
}
/* ---------------------------热门学校------------------------------ */
.hot-sch{
    width: 1200px;
    overflow: hidden;
    /* border:1px dashed black; */
    margin: 0 auto;
    padding-top:60px;
    position: relative;
}

.hot_nva{
   width:900px;
}

.hot_nva i:nth-child(1){
    padding-left:15px;
    font-size:40px;
}
.hot_nva i:nth-child(2){
    font-size:25px;
    color: var(--text-color);
    padding-left: 20px;
}

.hot_nva i:nth-child(3){
    font-size:20px;
    color: var(--main-color);
   float: right;
   padding-top:20px;
}

.hot_tp{
    height: 750px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top:25px;
}

.hot-1{
    width: 282px;
    height: 355px;
    /* 阴影设置样式 */
    box-shadow: 1px 3px 1px #cccccc;
    -moz-box-shadow: 2px 2px 10px #cccccc;
    -webkit-box-shadow: 2px 2px 10px #cccccc;
    padding-left: 15px;
}

.hot-1>img{
    border-top-left-radius:5px;
    border-top-right-radius:5px;
}

.hot-1 li{
    line-height:45px;
    margin-left:15px;
}

.hot-1 ul li:nth-child(1){
    font-size:20px;
    color: #333333;
    font-weight: bold;
}

.hot-1 ul li:nth-child(2){
    font-size:16px;
    color:#fec45a;
}

.hot-1 ul li:nth-child(3){
    height: 20px;
    width: 85px;
    background: #2ab8f5;
    text-align: center;
    border-radius:6px;
    line-height: 20px;
    color: #fff;
    font-size: 16px;
}

.hot-1 ul li:nth-child(4){
    color: #999999;
}

.hot_tit{
    position: absolute;
    width: 350px;
    right:-90px;
    top:75px;
}

.hot_tit ul li{
    width:190px;
    padding-top:50px;
    font-size:16px;
}

.hot_tit ul li:nth-child(1){
    width:350px;
    font-size:30px;
}

.hot_tit ul li:nth-child(1)>i{
    color:#2ab8f5;
    font-size:14px;
}

.hot_tit ul a{
    color: #999;
    font-size:14px;
}
 .fire{
    width: 20px;
    height: 20px;
    background: #ff764c;
    display: inline-block;
    border-radius:5px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-size:15px;
    margin-left:5px;
}
/* ----------------------------热门兴趣---------------------------- */

.hot—class{
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
    padding-top:60px;
}
.class-top i:nth-child(1){
    padding-left:18px;
    font-size:40px;
}
.class-top i:nth-child(2){
    font-size:25px;
    color: var(--text-color);
    padding-left: 20px;
}

.class-top i:nth-child(3){
    font-size:20px;
    color: var(--main-color);
   float: right;
   padding-top:20px;
}

.class-tp{  
    width: 280px;
    padding-top:25px; 
    margin-left:20px;
}
.clflex{
    width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.class-tp_1{
   line-height:30px;
   width: 280px;
}

.class-tp_1>img{
    border-radius:8px;
}
 .class-tp_1 p:nth-of-type(1){
    font-size:20px;
    color: #333333;
    font-weight: bold;
}

.class-tp_1 p:nth-of-type(2){
    font-size:16px;
    color: #999;
}
/* ----------------------------家长推荐---------------------------- */
.clear::before,
.clear::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    clear: both;
}

.main {
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
    padding-top:60px;
}

.tit {
    font-size: 40px;
    color: #333;
    font-style: normal;
    float: left;
    padding-left:20px;
}

.main header {
    height: 100px;
    background:transparent;
}

header i {
    font-style: normal;
    color: #2ab8f5;
    font-size: 20px;
    float: right;
    line-height: 100px;
}

.main .nav{
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
}
.main .n1 {
    position: relative;
    width: 275px;
    height: 280px;
    float: left;
    margin-left: 24px;
    margin-top: 24px;
    border-radius: 15px;
    background-color: #fff;
    /* 阴影设置样式 */
    box-shadow: 1px 3px 1px #cccccc;
    -moz-box-shadow: 2px 2px 10px #cccccc;
    -webkit-box-shadow: 2px 2px 10px #cccccc;
}

.userimg {
    position: absolute;
    left: 30px;
    bottom: 55px;
}

.user {
    padding-left: 95px;
    font-style: normal;
    font-size: 16px;
    font-weight: bold;
}

.n1 span {
    position: relative;
    width: 250px;
    display: inline-block;
    color: #999999;
    font-size: 15px;
    top: 20px;
    left: 20px;
    margin: 0 auto;
}

.biaoqian {
    position: relative;
    height: 20px;
    line-height: 20px;
    width: 85px;
    background: #2ab8f5;
    bottom: 55px;
    left: 192px;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #fff;
    font-size: 15px;
}
/* --------------------------直播试听-------------------------- */
.live{
    width:1200px;
    overflow: hidden;
    margin: 0 auto;
    padding-top:60px;
} 
.live-top{
    width:1200px;
    margin: 0 auto;
}
.live-top i:nth-child(1){
    padding-left:18px;
    font-size:40px;
}
.live-top i:nth-child(2){
    font-size:20px;
    color: #2ab8f5;
    float: right;
    padding-top:20px;
}   
.live-tp{
    margin: 0 auto;
    width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top:25px;
    
}
.live-t1{
    background: #fff;
    height:380px;
    margin-left:18px;
}

.live-t1 p:nth-of-type(1){
position: relative;
bottom:32px;
height:30px;
background-color:rgba(0,0,0,0.2);
color: #fff;
width: 282px;
text-align: center;
line-height: 30px;
}

.live-t1 p:nth-of-type(2){
    margin-top:-10px;
    font-size:20px;
    padding-left:25px;
}
.live-t1 p:nth-of-type(3){
    margin-top:15px;
    padding-left:25px;
    color: gray;
}

.live-t1 img:nth-of-type(2){
    margin-top:10px;
    padding-left:25px;
}

.live-ther{
    display: inline-block; 
    position: relative;
    bottom:20px;
    left:5px;
}

.live-ther span:nth-of-type(1){
    color: #999;
}

.live-ther span:nth-of-type(2){
    font-size: 19px;
}

.l{
    position: relative;
    bottom:220px;
    left:105px;
}
.r{
    position: relative;
    bottom: 220px;
    left:1330px;
}

/* --------------------------文章-------------------------- */
.article{
    width:1200px;
    overflow: hidden;
    margin: 0 auto;
} 
.art-top{
    width:1200px;
    margin: 0 auto;
}
.art-top i:nth-child(1){
    padding-left:18px;
    font-size:40px;
}
.art-top i:nth-child(2){
    font-size:20px;
    color: #2ab8f5;
    float: right;
    padding-top:20px;
}   

.art-nav{
    width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
}

.art-n1{
    height: 190px;
    width:578px;
    margin-left: 20px;
    margin-top:20px;
    border-radius:7px;
    position: relative;
    background-color: #fff;
     /* 阴影设置样式 */
     box-shadow: 1px 3px 1px #cccccc;
     -moz-box-shadow: 2px 2px 10px #cccccc;
     -webkit-box-shadow: 2px 2px 10px #cccccc;
}
.art-n1 img:nth-of-type(1){
    margin-top:20px;
    padding-left:25px;
}


.art-n1 i:nth-of-type(1){
     width:270px;
     top:30px;
     left:240px;
     position: absolute;
    font-size:18px;
}

.art-n1 img:nth-of-type(2){
    position: absolute;
    padding-left:12px;
    bottom:35px;
    left:230px;
}

.art-n1 span:nth-of-type(1){
   color: #2ab8f5;
   position: absolute;
   bottom:35px;
   left:270px;
}
/* --------------------------底部-------------------------- */
footer{
    margin: 0 auto;
    width: 100%;
    background-color: #414141;
    margin-top: 70px;
}

.foot-nav{
    width:1200px;
    height: 150px;;
    display: flex;
    margin:0 auto;
}
.foot-nav a{
    color: #fff;
    font-size:18px;
    margin-right:50px;
    padding-left:20px;
    margin-top:40px;
}

.foot-nav i:nth-of-type(1){
    display: inline-block;
    margin-left:190px;
    margin-top:40px;
    color: #ccc;
}

.foot-nav i:nth-of-type(2){
    margin-left:70px;
    color: #ccc;
}  

.fgx{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    border-top: 1px solid #999;
    top:-45px;
}

.db{
    position: relative;
    top:-20px;
    width:1200px;
    margin: 0 auto;
    font-size:13px;
    text-align: center;
    color: #ccc;
    line-height:40px;
}

.wx img:nth-of-type(1){
    position: relative;
    left:180px;
    top:3px;
}

.wx img:nth-of-type(2){
    position: relative;
    left:60px;
    top:3px;
}

